﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;

namespace CimeaSoft.UI
{
    public partial class FrmMenu : Telerik.WinControls.UI.RadRibbonForm
    {
        public FrmMenu()
        {
            InitializeComponent();
            this.FormClosed += FrmMenu_FormClosed;
        }

        private void FrmMenu_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void btnRegMuestra_Click(object sender, EventArgs e)
        {
            FrmMuestreo frm = new FrmMuestreo();
            frm.MdiParent = this;
            frm.Show();
            radRibbonBar1.Expanded = false;
        }

        private void btnBusReportes_Click(object sender, EventArgs e)
        {
            FrmShowMuestreo frm = new FrmShowMuestreo();
            frm.MdiParent = this;
            frm.Show();
            radRibbonBar1.Expanded = false;
        }

        private void radButtonElement1_Click(object sender, EventArgs e)
        {
            Form1 frm = new Form1();
            frm.MdiParent = this;
            frm.Show();
            radRibbonBar1.Expanded = false;
        }

        private void btnBusGenerica_Click(object sender, EventArgs e)
        {
            FrmShowGeneral frm = new FrmShowGeneral();
            frm.MdiParent = this;
            frm.Show();
            radRibbonBar1.Expanded = false;
        }
    }
}
